﻿using SLClient.ServiceAPI;
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Controls;

namespace SLClient.CustomerControls
{
    public partial class OrderWindow : ChildWindow
    {
        public OrderWindow(ViwUserPlayInfo viwUserPlayInfo)
        {
            this.InitializeComponent();
            base.DataContext=new OrderWindowViewModel(viwUserPlayInfo);
        }

        public OrderWindow(int orderId)
        {
            this.InitializeComponent();
            base.DataContext = new OrderWindowViewModel(orderId);
        }
    }
}

